package com.zhuchaooasystem.presenter.home.service;

import com.zhuchaooasystem.base.IPresenter;
import com.zhuchaooasystem.base.IView;
import com.zhuchaooasystem.entity.ServiceEntity;

/**
 * Created by zhangyajiang on 2016/12/22.
 */

public interface ServiceSearchContract {

    interface View extends IView {

        String getSearch();

        //显示第一页的数据 下拉刷新的数据
        void showData(ServiceEntity entity);

        //上拉加载更多的数据
        void showMoreData(ServiceEntity entity);

    }

    interface Presenter extends IPresenter {
        void downSearchData(int page, boolean isShowDialog);

    }
}
